package com.java.example.ui.update

interface UpdateDownloadListener {
    /**
     * 开始下载
     */
    fun onStarted()

    /**
     * 进度监听
     */
    fun onProgressChanged(progress: Int, downloadUrl: String?)

    /**
     * 完成下载
     */
    fun onFinished(completeSize: Float, downloadUrl: String?)

    /**
     * 下载失败
     */
    fun onFailure()
}
